package com.ddpt.permission.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lh.center.common.base.BizMapper;
import com.lh.center.permission.api.entity.BackAdminUser;
import com.lh.center.permission.api.request.BackAdminQueryAccountRequest;
import com.lh.center.permission.api.request.BackAdminShowNameBatchQueryRequest;
import com.lh.center.permission.api.response.BackAdminAccountResponse;
import com.lh.center.permission.api.response.BackAdminUserResponse;

import java.util.List;

/**
 * <p>
 * SaaS后台用户表 Mapper 接口
 * </p>
 *
 * @author czy
 * @since 2022-04-07
 */
public interface BackAdminUserMapper extends BizMapper<BackAdminUser> {

    List<BackAdminUserResponse> queryBackAdminShowName(BackAdminShowNameBatchQueryRequest queryRequest);

    Long queryBackAdminAccountTotal(BackAdminQueryAccountRequest queryRequest);

    Page<BackAdminAccountResponse> queryBackAdminAccountPageList(BackAdminQueryAccountRequest queryRequest);

}
